package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.reggie.domain.Order;

import java.util.Date;

public interface OrderService {
    void submit(Order order);
    // 分页
    Page<Order> fenye(Integer pageNum, Integer pageSize, String number);
      // 订单明细
    Page<Order> findByPage2(Long number, Date beginTime, Date endTime, Integer pageNum, Integer pageSize);
    //  历史订单
    Page<Order> lishidingdan(Integer pageNum, Integer pageSize);
}
